package com.itheima.service;

import com.itheima.pojo.Clazz;
import com.itheima.pojo.PageBean;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentQueryParam;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface StudentService {
    PageBean selectStudent(StudentQueryParam studentQueryParam);

    void delStudentByIds(List<Integer> ids);



    List<Student> selectStudentByClazzId(Integer id);

    void insertStudent(Student student);

    Student getStudentById(Integer id);

    void updateStudent(Student student);

    void updateViolation(Integer id, Integer score);
}
